import type { PropType } from "vue"

const props = {
	total: {
		type: Number as PropType<number>,
		default: 0,
	},
	currentPage: {
		type: Number as PropType<number>,
		default: 1,
	},
	pageSize: {
		type: Number as PropType<number>,
		default: 10,
	},
	maxPage: {
		type: Number as PropType<number>,
		default: 10,
		validator: (value: number) => {
			if (value > 10) return false
			return true
		},
	},
	type: {
		type: String as PropType<string>,
		default: "primary",
	},
	size: {
		type: String as PropType<string>,
		default: "md", // sm、md、lg
	},
}

export default props
